/**
 * Shangar
 */
package sg.edu.nus.iss.phoenix.presenterproducer.dao;

import java.sql.SQLException;
import java.util.List;

import sg.edu.nus.iss.phoenix.authenticate.entity.User;

public interface PresenterProducerDAO{
	/**
	 * This method load all the users in the database
	 * @return This method will return the list of users
	 * @throws SQLException
	 */
	public abstract List<User> loadAll() throws SQLException;
	
	/**
	 * 	This method will return all presenters which match the criteria
	 * @param valueObject : user value object having the criteria
	 * @return list of users which match the criteria
	 * @throws SQLException
	 */
	public abstract List<User> searchMatching(User valueObject) throws SQLException;
}